package cn.edu.ctbu.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "user")
public class UserEntity implements Serializable {

    @TableId
    private Integer userId;
    private String username;
    private String password;
    private String phone;
    private String realName;
    private String email;
    private Integer status;
    private Date createTime;
    private Date lastLoginTime;
    private Integer roleId;

}
